//
//  HYGrowingUpFilesCell.m
//  child
//
//  Created by lijianguomac on 13-9-29.
//  Copyright (c) 2013年 lijianguomac. All rights reserved.
//

#import "HYGrowingUpFilesCell.h"

@implementation HYGrowingUpFilesCell

@synthesize ivLeft,lblTitle,ivRight;

- (void)dealloc{
    [super dealloc];
    [ivLeft release];
    [lblTitle release];
    [ivRight release];
}

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

-(void)setView:(UIImage *)image title:(NSString *)title{
    
    NSLog(@"title:%@",title);
//    self.image1 = image;
//    self.title1 = title;
    [self.ivLeft setImage:image];
    [self.lblTitle setText:title];
    
//    self.ivLeft.hidden = YES;
    
}

// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
//- (void)drawRect:(CGRect)rect
//{
//    // Drawing code
//    CGRect frame = CGRectMake(10, 10, 44, 44);
//    ivLeft = [[UIImageView alloc] initWithFrame:frame];
//    [ivLeft setImage:[UIImage imageNamed:@"ico_wmdyj.png"]];
////    [self addSubview:ivLeft];
//    [self.contentView addSubview:ivLeft];
//    frame = CGRectMake(64, 15, 100, 30);
//    lblTitle = [[UILabel alloc] initWithFrame:frame];
//    [lblTitle setTextColor:[UIColor blackColor]];
//    [lblTitle setText:@"aaaaaa"];
//    [self addSubview:lblTitle];
//    
//    frame = CGRectMake(300, 15, 20, 20);
//    ivRight = [[UIImageView alloc] initWithFrame:frame];
//    [ivRight setImage:[UIImage imageNamed:@"ico_arrow.png"]];
//    [self addSubview:ivRight];
//}


@end
